﻿using BarLib.Tools;

namespace BarTool
{
    internal class Program
    {
        static void Main(string[] args)
        {
            if (args.Length > 0)
            {
                var bar = BarImgage.MakeBar(args[0]);
                var imgsr = BarImgage.Make(bar);
                BarImgage.StreamToFile(imgsr, $"{DateTime.Now.Ticks}.png");
            }
        }
    }
}
